package com.kmust.dream.wanderingdream.donation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * 
 * 
 * @author Leng
 * @email Leng81605@gmail.com
 * @date 2021-07-12 21:35:52
 */
@Data
@TableName("basic_information_donation")
@Accessors(chain = true)
public class BasicInformationDonationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String recipientId;
	/**
	 * 
	 */
	@TableField(value = "ID_number")
	private String idNumber;
	/**
	 * 
	 */
	@TableField(value = "name")
	private String name;
	/**
	 * 
	 */
	@TableField(value = "learning_section")
	private String learningSection;
	/**
	 * 
	 */
	@TableField(value = "school")
	private String school;
	/**
	 * 
	 */
	@TableField(value = "account_number")
	private String accountNumber;
	/**
	 * 
	 */
	@TableField(value = "receiving_address")
	private String receivingAddress;
	/**
	 * 
	 */
	@TableField(value = "target_money")
	private Float targetMoney;
	/**
	 * 
	 */
	@TableField(value = "political_outlook")
	private String politicalOutlook;
	/**
	 * 
	 */
	@TableField(value = "birthday")
	private String birthday;
	/**
	 * 
	 */
	@TableField(value = "age")
	private Integer age;
	/**
	 * 
	 */
	@TableField(value = "create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime;
	/**
	 * 
	 */
	@TableField(value = "total_money")
	private Float totalMoney;
	/**
	 * 
	 */
	@TableField(value = "status")
	private Integer status;

	@TableField(exist = false)
	private String text;

}
